package architect.design.patterns.behavior.command;

/**
 * Invoker
 *
 * @author guanxin
 * @date 2018/5/6 13:36
 */

public class FileInvoker {

    private Command command;

    public FileInvoker(Command c) {
        this.command = c;
    }

    public void execute() {
        this.command.execute();
    }
}
